package com.chandra.pos.order.service;


import com.chandra.pos.order.model.*;

import javax.persistence.EntityNotFoundException;

/**
 * Created by dnagarajan on 3/28/2015.
 */
public interface OrderService {


    public OrderModel saveOrder(OrderModel orderModel);

    public OrderItemModel saveOrderItem(OrderItemModel orderItemModel);

    public boolean removeOrderItem(OrderItemModel orderItemModel);

    public OrderList search(OrderFilter model);

    public OrderItemList listOrderItems(OrderItemModel orderItemModel);

    public OrderModel getOrderDetails(OrderFilter filter) throws EntityNotFoundException;
}
